package com.zhx.ad.common.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 *describe: 
 *
 *@author zhanghaixuan
 *@date 2019/02/01
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommonResponse<T> implements Serializable {

	private Integer code;

	private String msg;

	private T data;


	public CommonResponse(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}

}
